@charset "utf-8";

html,
body {
	width: 100%;
	height: auto;
}

.container {
	width: 1225px;
	margin: 0 auto;
}

a {
	display: block;
	width: 100%;
	height: 100%;
}

/* 设置灰色导航条样式 */
nav {
	width: 100%;
	min-width: 1225px;
	height: 37px;
	background-color: #F7F7F7;
	border-bottom: 1px solid #CCCCCC;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: 0.1s linear; 
}

nav ul {
	padding-left: 80px;
	display: flex;
	height: 37px;
	align-items: center;
}

nav ul h1 {
	font-size: 20px;
	padding-right: 100px;
	color: #00000080;
	display: none;
}

nav ul li {
	height: 37px;
	padding: 0 15px;
	transition: 0.5s linear;
}

nav ul li a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
	display: flex;
	align-items: center;
	color: #00000080;
	font-size: 12px;
}

nav ul li a:hover {
	color: #444444;
	font-weight: 600;
}

nav ul li:nth-child(2) a {
	color: #444444;
	font-weight: 600;
}

.showtittle {
	display: block;
}

nav span {
	font-size: 12px;
	color: #00000080;
	padding-right: 80px;
	cursor: pointer;
}

nav span:hover {
	color: #444444;
	font-weight: 600;
}

/* 设置滚动时的白色导航的样式 */
.scrollnav ul h1{
	display: block;
}
nav.scrollnav{
	height: 60px;
	position: fixed;
	top: 0;
	z-index: 999;
}
.scrollnav ul li a{
	font-size: 14px;
	color: #00000080;
}
.scrollnav span{
	font-size: 14px;
	color: #00000080;
}

/* 设置手机商品部分的样式 */
section {
	min-width: 1225px;
	width: 100%;
	height: 1105px;
	border-bottom: 1px solid #CCCCCC;
	padding: 50px 0 0;
	background-color: #FCFCFC;
}

section .container {
	display: flex;
}

/* 设置商品部分的图片展示部分的样式 */
.prodview {
	width: 610px;
	height: 500px;
	position: relative;
}

.prodview img {
	width: 500px;
	height: 500px;
	top: 0;
	right: 0;
	position: absolute;
}

/* 设置商品的样式在最上层显示 */
.show {
	z-index: 1;
}

/* 设置商品展示文字部分的样式 */
.prodinfo {
	width: 610px;
	height: 1056px;
	display: flex;
	flex-direction: column;
}

/* 商品标题样式 */
.prodtittle {
	padding-bottom: 30px;
	border-bottom: 1px solid #CCCCCC;
}

.prodtittle h2 {
	font-size: 30px;
	color: #000000;
}

.prodtittle p {
	font-size: 14px;
	line-height: 25px;
	padding-top: 20px;
	color: #999999;
}

/* 促销活动样式 */
.prodsale {
	padding: 30px 0;
	display: flex;
	border-bottom: 1px solid #CCCCCC;
}

.prodsale article {
	font-size: 12px;
	color: #808080;
	padding: 10px 0;
}

.prodinfo h4 {
	font-size: 14px;
	color: #666666;
	display: inline-block;
	width: 85px;
	height: 38px;
	line-height: 38px;
}

.prodsale span {
	font-size: 12px;
	line-height: 18px;
	background-color: #fce9e8;
	color: #d44d44;
	border: 1px solid #f0bab6;
	padding: 0 8px;
	border-radius: 15px;
}

.prodinfo strong {
	font-size: 12px;
	color: #5079D9;
	font-weight: bolder;
	cursor: pointer;
}

.prodinfo strong:hover {
	color: blue;
}

.prodsale em {
	font-size: 12px;
	line-height: 18px;
	background-color: #f3fcdf;
	color: #80a436;
	border: 1px solid #bed698;
	padding: 0 8px;
	border-radius: 15px;
}

.prodsale div article:nth-child(3) strong {
	font-size: 12px;
	color: #d44d44;
	font-weight: bolder;
}

/* 设置颜色选择部分的样式 */
.prodcolor,
.prodinter {
	display: flex;
	margin-top: 30px;
}

.prodinfo ul {
	width: 100%;
	display: flex;
	padding-bottom: 30px;
	border-bottom: 1px solid #CCCCCC;
	flex-wrap: wrap;
}

.prodinfo ul li {
	padding: 13px;
	border: 1px solid #CCCCCC;
	margin-right: 10px;
	margin-bottom: 10px;
	border-radius: 8px;
	font-size: 18px;
	color: #323232;
}

.prodinter ul{
	border: none;
}

.prodinter{
	border-bottom: 1px solid #CCCCCC;
}

/* 产品选择后的样式 */
.prodinfo .prodselected {
	font-weight: 600;
	color: #000000;
	border: 1px solid #5A82D3;
}

/* 产品不能选择的样式 */
.prodinfo .unselected {
	color: #CCCCCC;
	cursor: not-allowed;
	border: 1px dashed #CCCCCC;
}

/* 服务说明的样式 */
.prodserver{
	padding: 30px 0;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #CCCCCC;
}
.prodserver p{
	font-size: 12px;
	color: #999999;
}
.prodserver h5{
	font-size: 14px;
	color: #666666;
	display: inline-block;
	width: 85px;
}

/* 保修服务的样式 */
.prodfix{
	padding: 30px 0;
	display: flex;
}
.prodfix h5{
	display: block;
	width: 85px;
	height: 70px;
	line-height: 70px;
	color: #666;
	font-size: 14px;
}
.options{
	width: 525px;
	height: 70px;
	border: 1px solid #CCCCCC;
	border-radius: 8px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	position: relative;
	cursor: pointer;
}
.leftoption{
	margin-left: 20px;
	display: flex;
	flex-direction: column;
}
.rightoption{
	margin-right: 20px;
	display: flex;
	flex-direction: column;
}
.leftoption b{
	width: 340px;
	font-size: 18px;
	color: #333333;
	padding-top: 12px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.leftoption p{
	font-size: 14px;
	color: #999999;
	margin-top: 6px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.rightoption em{
	font-size: 18px;
	color: #D44D44;
	margin-top: 12px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.rightoption p{
	color: #D44D44;
	font-size: 14px;
	margin-top: 6px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
/* 保修服务选择右上角的对勾样式 */
.options .iconfont{
	display: block;
	font-size: 18px;
	position: absolute;
	right: 0;
	top: 0;
	color: #CCCCCC;
}

/* 设置保修服务被选中后的样式 */
.options.serverchecked{
	font-weight: 600;
	border: 1px solid #658FE1;
}
.options.serverchecked .iconfont{
	color: #658FE1;
}

/* 保修服务声明的样式 */
.servernote{
	display: flex;
	justify-content: space-between;
}
.servernote p{
	display: block;
	width: 450px;
	font-size: 12px;
	line-height: 23px;
	color: #7A7A7A;
}
.servernote span{
	font-size: 12px;
	color: #666666;
	font-weight: 600;
	line-height: 20px;
}

/* 设置商品展示的图片的样式 */
.prodimg{
	width: 100%;
	min-width: 1225px;
	display: flex;
	flex-direction: column;
	padding-bottom: 30px;
	border-bottom: 1px solid #CCCCCC;
}
.prodimg img{
	display: block;
	width: 100%;
	height: auto;
}

/* 设置相关推荐部分的样式 */
.suggestion{
	width: 100%;
	padding-bottom: 60px;
}
.suggestion h2{
	padding: 60px 0;
	font-size: 24px;
	color: #333333;
	font-weight: 700;
}
.suggestion ul{
	width: 100%;
	min-width: 1225px;
	height: 430px;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
}
.suggestion ul li{
	width: 297px;
	height: 428px;
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
}
.suggestion li a{
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
}
.suggestion li img {
	width: 216px;
	height: 216px;
	margin-top: 50px;
	margin-bottom: 20px;
}
.suggestion li h3 {
	padding: 0 5px;
	font-size: 15px;
	color: #333333;
	font-weight: 600;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.suggestion li p:nth-child(3) {
	font-size: 12px;
	color: #999999;
	padding: 15px 12px 0;
}

/* 当鼠标悬停时红字出现 */
.suggestion li>span{
	font-size: 12px;
	color: #D44D44;
	padding: 15px 12px 0;
	display: none;
}

.suggestion li b {
	height: 12px;
	padding: 15px 0 0;
	display: flex;
	justify-content: space-around;
}

/* 商品展示小圆点的颜色，默认是白色 */
.suggestion li b span {
	margin: 0 5px;
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 2px solid #CCCCCC;
	background-color: #FFFFFF;
}
/* 设置几种span的颜色 */
.suggestion li b .red{
	background-color: red;
}
.suggestion li b .blue{
	background-color: darkblue;
}
.suggestion li b .black{
	background-color: black;
}
.suggestion li b .pink{
	background-color: pink;
}
.suggestion li b .gray{
	background-color: gray;
}

.suggestion li b span:hover {
	border: 2px solid #999999;
}

.suggestion li em {
	margin: 20px 0;
	font-size: 18px;
	color: #D44D44;
	font-weight: 600;
}
/* 鼠标悬停时查看详情按钮出现 */
.suggestion strong{
	padding: 3px 20px;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	font-size: 14px;
	color: #333333;
	margin-top: 20px;
	background-color: #FAFAFA;
	font-weight: 600;
	display: none;
}

.suggestion li em del {
	font-size: 12px;
	color: #CCCCCC;
	font-weight: normal;
	padding-left: 10px;
}
.suggestion li i{
	display: block;
	padding: 0 10px;
	border: 1px solid #D03B34;
	background-color: #FAE7E5;
	color: #D03B34;
	position: absolute;
	border-radius: 10px;
	font-size: 12px;
	top: 10px;
	right: 10px;
	display: none;
	font-weight: 600;
}
.suggestion li aside{
	display: block;
	padding: 0 10px;
	border: 1px solid #A06E37;
	background-color: #FFFBDF;
	color: #A06E37;
	position: absolute;
	border-radius: 10px;
	font-size: 12px;
	top: 10px;
	right: 10px;
	display: none;
	font-weight: 600;
}
/* 设置物品展示右上角的标签显示 */
.suggestion ul li .showtips {
	display: block;
}
/* 设置相关推荐鼠标悬浮时的样式 */
.suggestion ul li:hover{
	box-shadow: 0 0 1px 1px #CBCBCB;
}
.suggestion ul li:hover>p{
	display: none;
}
.suggestion ul li:hover>em{
	display: none;
}
.suggestion ul li:hover>span{
	display: block;
}
.suggestion ul li:hover>strong{
	display: block;
}

/* 商品结算条的样式 */
.sum{
	width: 100%;
	min-width: 1225px;
	height: 60px;
	border-top: 1px solid #CCCCCC;
	background-color: #FAFAFA;
	transition: 0.2s linear;
}
.sum .container{
	height: 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.sum .container div:nth-child(1){
	display: flex;
}
.sum .container div:nth-child(1) span{
	padding-top: 6px;
	margin-right: 20px;
	font-size: 12px;
	color: #333333;
}
.sum .container div:nth-child(1) li i{
	font-size: 14px;
	color: #333333;
	font-weight: 700;
}
.sum .container div:nth-child(1) li em{
	font-size: 14px;
	color: #D44D44;
	font-weight: 700;
	padding-left: 15px;
}
.sum .container div:nth-child(1) li{
	font-size: 12px;
	color: #9D9D9D;
	margin-top: 5px;
}
.sum .container div:nth-child(2) {
	display: flex;
	align-items: center;
}
.sum .container div:nth-child(2) em{
	display: block;
	height: 30px;
	font-size: 20px;
	color: #D44D44;
}
.sum .container div:nth-child(2) span:nth-child(2){
	font-size: 14px;
	color: #646464;
	padding: 10px 30px;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	background-color: #F5F5F5;
	margin-left: 20px;
	font-weight: 600;
	cursor: pointer;
}
.sum .container div:nth-child(2) span:nth-child(3){
	font-size: 14px;
	color: #FFFFFF;
	padding: 10px 30px;
	border: 1px solid #618CDF;
	border-radius: 5px;
	background-color: #618CDF;
	margin-left: 20px;
	font-weight: 600;
	cursor: pointer;
}
/* 鼠标悬停按钮时的样式 */
.sum .container div:nth-child(2) span:nth-child(2):hover{
	background-color: #EFEFEF;
}
.sum .container div:nth-child(2) span:nth-child(3):hover{
	background-color: #5076C6;
}

/* 结算条滚动时的样式 */
.sum.scrollsum{
	position: fixed;
	bottom: 0;
	z-index: 999;
}

/* 滚动时footer的样式，防止footer滚动时抖动 */
footer.scrollfoot{
	margin-top: 60px;
}

/* 回到顶部的侧边栏样式 */
.back{
	width: 80px;
	height: 160px;
	position: fixed;
	right: 25px;
	bottom: 30%;
	border-radius: 10px;
	background-color: #FFFFFF;
	box-shadow:0 5px 18px rgba(0,0,0,0.15);
}
.back ul{
	width: 100%;
	height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.back ul li{
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.back ul li:nth-child(1){
	border-bottom: 1px solid #CCCCCC;
}
.back ul span{
	font-size: 30px;
	color: #7A7A7A;
}
.back ul P{
	color: #7A7A7A;
}
.back ul li:nth-child(1):hover span{
	color: yellowgreen;
}
.back ul li:nth-child(1):hover p{
	color: yellowgreen;
}
.back ul li:nth-child(2):hover span{
	color: #D44D44;
}
.back ul li:nth-child(2):hover p{
	color: #D44D44;
}